package com.org.es7.conponents.elasticsearch;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "devg.elasticsearch")
public class ElasticSearchConfig {

  private String hostname;

  private String port;

  private String schemeName;

  private String userName;

  private String userPass;

  private Integer connectionTimeOut;

  private Integer socketTimeOut;

  private Integer connectionRequestTimeOut;

  private Integer maxConnectTotal;

  private Integer maxConnectPerRoute;

}
